<!--{*
/*
 * This file is part of EC-CUBE
 *
 * Copyright(c) 2000-2007 LOCKON CO.,LTD. All Rights Reserved.
 *
 * http://www.lockon.co.jp/
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version 2
 * of the License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 */
*}-->

<div id="alpha">
<div id="alpha-inner">
<!--▼SUB NAVI-->
<!--{include file=$tpl_subnavi}-->
<!--▲SUB NAVI-->
</div>
</div>



<div id="beta">
<div id="beta-inner">
<form name="form1" id="form1" method="post" action="">
<input type="hidden" name="mode" value="edit">
<input type="hidden" name="deliv_id" value="<!--{$tpl_deliv_id}-->">
<div class="title_page">
<h2><!--{$tpl_subtitle}--></h2>
</div>



<div class="menuclass">
<table summary="配送業者登録">
<tr>
<th>配送業者名<span class="red"> *</span></th>
	<td>
	<!--{assign var=key value="name"}-->
	<span class="red12"><!--{$arrErr[$key]}--></span>
	<input type="text" name="<!--{$arrForm[$key].keyname}-->" value="<!--{$arrForm[$key].value|escape}-->" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" size="30" class="box30" />
	</td>
</tr>
<tr>
	<th>名称<span class="red"> *</span></th>
	<td>
	<!--{assign var=key value="service_name"}-->
	<span class="red12"><!--{$arrErr[$key]}--></span>
	<input type="text" name="<!--{$arrForm[$key].keyname}-->" value="<!--{$arrForm[$key].value|escape}-->" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" size="30" class="box30" />
	</td>
</tr>
<tr>
	<th>伝票No.URL</th>
	<td>
	<!--{assign var=key value="confirm_url"}-->
	<span class="red12"><!--{$arrErr[$key]}--></span>
	<input type="text" name="<!--{$arrForm[$key].keyname}-->" value="<!--{$arrForm[$key].value|escape}-->" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" size="30" class="box30" />
	</td>
</tr>
</table>
</div>



<div class="menuclass">
<table summary="配送時間指定">
<!--{section name=cnt loop=$smarty.const.DELIVTIME_MAX}-->
<!--{assign var=type value="`$smarty.section.cnt.index%2`"}-->
<!--{assign var=keyno value="`$smarty.section.cnt.iteration`"}-->
<!--{assign var=key value="deliv_time`$smarty.section.cnt.iteration`"}-->
<!--{assign var=key_next value="deliv_time`$smarty.section.cnt.iteration+1`"}-->
<!--{if $type == 0}-->
	<!--{if $arrErr[$key] != "" || $arrErr[$key_next] != ""}-->
	<tr>
	<td colspan="4"><span class="red12"><!--{$arrErr[$key]}--><!--{$arrErr[$key_next]}--></span></td>
	</tr>
	<!--{/if}-->
		<tr>
		<th>配送時間<!--{$keyno}--></th>
		<!--{if $smarty.section.cnt.last}-->
		<!--{assign var=colspan value="3"}-->	
		<!--{else}-->
		<!--{assign var=colspan value="1"}-->
		<!--{/if}-->
		<td colspan="<!--{$colspan}-->">
		<input type="text" name="<!--{$arrForm[$key].keyname}-->" value="<!--{$arrForm[$key].value|escape}-->" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" size="20" class="box20" />
		</td>
	<!--{else}-->
	<th>配送時間<!--{$keyno}--></th>
	<td>
	<input type="text" name="<!--{$arrForm[$key].keyname}-->" value="<!--{$arrForm[$key].value|escape}-->" maxlength="<!--{$arrForm[$key].length}-->" size="20" class="box20" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" />
	</td>
</tr>
<!--{/if}-->
<!--{/section}-->
</table>
</div>



<!--{if $smarty.const.INPUT_DELIV_FEE}-->
<h3>配送料登録</h3>

<div class="menuclass">
<table summary="配送料登録">
<tr>
<td colspan="4">
※全国一律送料 <input type="text" name="fee_all" size="10" class="box10" /> 円に設定する
<input type="button" name="renew" value="反映" onclick="fnSetDelivFee(<!--{$smarty.const.DELIVFEE_MAX}-->);" />
</td>
</tr>
<!--{section name=cnt loop=$smarty.const.DELIVFEE_MAX}-->
<!--{assign var=type value="`$smarty.section.cnt.index%2`"}-->
<!--{assign var=keyno value="`$smarty.section.cnt.iteration`"}-->
<!--{assign var=key value="fee`$smarty.section.cnt.iteration`"}-->
<!--{assign var=key_next value="fee`$smarty.section.cnt.iteration+1`"}-->
<!--{if $type == 0}-->
	<!--{if $arrErr[$key] != "" || $arrErr[$key_next] != ""}-->
	<tr>
	<td colspan="4"><span class="red12"><!--{$arrErr[$key]}--><!--{$arrErr[$key_next]}--></span></td>
	</tr>
	<!--{/if}-->
	<tr>
	<th><!--{$arrPref[$keyno]}--></th>
		<!--{if $smarty.section.cnt.last}-->
		<!--{assign var=colspan value="3"}-->
		<!--{else}-->
		<!--{assign var=colspan value="1"}-->
		<!--{/if}-->
		<td colspan="<!--{$colspan}-->">
		<input type="text" name="<!--{$arrForm[$key].keyname}-->" value="<!--{$arrForm[$key].value|escape}-->" maxlength="<!--{$arrForm[$key].length}-->" size="20" class="box20" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" /> 円
		</td>
	<!--{else}-->
	<th><!--{$arrPref[$keyno]}--></th>
	<td>
	<input type="text" name="<!--{$arrForm[$key].keyname}-->" value="<!--{$arrForm[$key].value|escape}-->" maxlength="<!--{$arrForm[$key].length}-->" size="20" class="box20" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" /> 円
	</td>
	</tr>
	<!--{/if}-->
<!--{/section}-->
</table>
<!--{/if}-->
</div>



<div class="btn_box">
<a href="./delivery.php">前のページに戻る</a>
<input type="submit" value="この内容で登録する" name="subm" />
</div>



</form>
</div>
</div>
